#ifndef MAPWIDGET_H
#define MAPWIDGET_H

#include <QWidget>
#include <QtQuick/QQuickView>
#include <QVBoxLayout>
#include <QPushButton>

#include "mapvalue.h"

class MapWidget : public QWidget
{
    Q_OBJECT
public:
    explicit MapWidget(QWidget *parent = 0);
    void updateMap();

signals:

public slots:

private:
    void setupWidget();

    QQuickView *m_mapView;
    QVBoxLayout *m_layout;
    QWidget *m_viewContainer;
    //值数组
    QVariantList m_mapValue;
    MapValue m_value;
};

#endif // MAPWIDGET_H
